Cannot find a way to convert an ASP.NET Core 6 MVC view to string in Web API

welcome to shbcf.ru